package com.mzj.saas.mservice.lifePay.repository;

import com.mzj.saas.mservice.lifePay.entity.LivingPaymentTotal;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

public interface LivingPaymentTotalRepository extends PagingAndSortingRepository<LivingPaymentTotal, Long>, JpaSpecificationExecutor<LivingPaymentTotal>, JpaRepository<LivingPaymentTotal,Long> {

    List<LivingPaymentTotal>  findByStatDateAndUserId(String statDate,String userId);

}
